<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=UTF-8">
<jsp:include page="../../WEB-INF/incl/htmlHeader.jsp" />
<title>Officer Maintenance | Cult Cinema Inc</title>
</head>
<body class="admin">
<jsp:include page="../../WEB-INF/incl/adminHeader.jsp" />
<div id="pageheader">
	<div class="container">
		<h1>Administration &gt; Officer Maintenance</h1>
	</div>
</div>
<div id="main" class="container">
	<jsp:include page="../../WEB-INF/incl/messages.jsp" />
	<a href="new.jsp"><div class="blue_btn large_btn"><fmt:message key="officer.addOfficer" bundle="${uitext}" /></div></a>
	<table class="data-table" cellspacing="0" cellpadding="0" width="100%">
		<thead>
			<tr>
				<th scope="col"><fmt:message key="common.id" bundle="${uitext}"/></th>
				<th scope="col"><fmt:message key="user.login" bundle="${uitext}"/></th>
				<th scope="col"><fmt:message key="user.firstname" bundle="${uitext}"/></th>
				<th scope="col"><fmt:message key="user.lastname" bundle="${uitext}"/></th>
<%-- 				<th scope="col"><fmt:message key="user.password" bundle="${uitext}"/></th> --%>
				<th scope="col"><fmt:message key="common.createdate" bundle="${uitext}"/></th>
				<th scope="col"><fmt:message key="common.createuser" bundle="${uitext}"/></th>
				<th scope="col"><fmt:message key="common.modifydate" bundle="${uitext}"/></th>
				<th scope="col"><fmt:message key="common.modifyuser" bundle="${uitext}"/></th>
				<th scope="col"><fmt:message key="user.status" bundle="${uitext}"/></th>
				<th scope="col"><fmt:message key="common.operation" bundle="${uitext}"/></th><
			</tr>
		</thead>
		<tbody>
			<c:forEach var="m" items="${requestScope.officerList}">
				<tr>
					<td>${m.id}</td>
					<td>${m.login}</td>
					<td>${m.firstName}</td>
					<td>${m.lastName}</td>
					<td>${m.createDate}</td>
					<td>${m.createUser}</td>
					<td>${m.modifyDate}</td>
					<td>${m.modifyUser}</td>
<%-- 					<td>${m.password}</td> --%>
					<td>${m.appUserStatus}</td>
					<td>
						<a href="edit.do?id=${m.id}"><fmt:message key="common.action.edit" bundle="${uitext}"/></a><br/>
						<a href="delete.do?id=${m.id}" onclick="return confirm('<fmt:message key="message.info.common.confirm.delete" bundle="${uitext}"/>')"><fmt:message key="common.action.delete" bundle="${uitext}"/></a>
					</td>
				</tr>
			</c:forEach>
		</tbody>
	</table>
</div>
<jsp:include page="../../WEB-INF/incl/footer.jsp" />
</body>
</html>
